Skip to content

SRVKP-15402: update PF module in package.json - #1463

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift-pipelines:masterfrom
anwesha-palit-redhat:pf6-version-update-4.22
Nov 4, 2026
Merged

openshift-merge-bot[bot] merged 1 commit into
openshift-pipelines:masterfrom
anwesha-palit-redhat:pf6-version-update-4.22

Conversation

@anwesha-palit-redhat

Copy link
Copy Markdown
Contributor

Type of Change

  • Bug fix
  • New feature
  • Refactoring
  • Migration
  • CVE Fix

Summary

Screen Recordings / Screenshot

css-fix-pf6-version-update.mov

@openshift-ci openshift-ci Bot added the approved Label for Approved PRs label Nov 3, 2026
@qodo-code-review

Copy link
Copy Markdown

PR Reviewer Guide 🔍

Warning

/review is deprecated. Use /agentic_review instead (removal date not yet scheduled).

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Lockfile Missing

The dependency ranges and new packages change without a corresponding yarn.lock update. Verify that a frozen-lockfile install succeeds; otherwise CI and reproducible installs may fail.

"@patternfly/react-styles": "^6.4.0",
"@patternfly/react-table": "^6.4.0",
Missing Check

The checker treats every missing PatternFly package as a skip, so it can report no issues even when an expected dependency has disappeared from yarn.lock. Consider failing for packages required by package.json.

for (const pkg of PKGS_TO_CHECK) {
  const versions = patternflyModules.get(pkg.name) || [];
  if (versions.length === 0) {
    console.log(`  SKIP  ${pkg.name} — not in yarn.lock`);
Check Integration

Verify that this new script is invoked by CI or an existing validation command. Otherwise its resolution checks will not catch future dependency regressions automatically.

console.log('Checking yarn.lock for PatternFly module resolutions...');

const lockFileContent = readFileSync('yarn.lock', 'utf8');
const lockFile = parseSyml(lockFileContent);

@qodo-code-review

Copy link
Copy Markdown

Important

The /generate_labels command by Qodo was deprecated on the 1st of October 2026 and is no longer available. We recommend switching to the latest Qodo review capabilities. Learn more

Comment thread yarn.lock
linkType: hard

"@patternfly/react-styles@npm:^6.0.0, @patternfly/react-styles@npm:^6.0.0-prerelease.6, @patternfly/react-styles@npm:^6.7.0":
"@patternfly/react-styles@npm:^6.0.0, @patternfly/react-styles@npm:^6.0.0-prerelease.6, @patternfly/react-styles@npm:^6.4.0, @patternfly/react-styles@npm:^6.7.0":

@anwesha-palit-redhat anwesha-palit-redhat Nov 3, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From AI

In Yarn Berry, one lock entry can list several range descriptors that all resolve to the same version:

"@patternfly/react-styles@npm:^6.0.0, ... ^6.4.0, ... ^6.7.0":
  version: 6.7.0   ← only this matters

That means ^6.0.0, ^6.4.0, etc. all land on one install of 6.7.0. Parsed, there is a single entry with version: "6.7.0".

The script fails only when there are multiple resolved versions (separate lock blocks), e.g. the earlier failure:

"@patternfly/react-styles@npm:^6.0.0, ...":
  version: 6.7.0

"@patternfly/react-styles@npm:~6.6.0":
  version: 6.6.1   ← second resolved version → FAIL

Resolutions are not needed here. You already have a single resolved version. Use resolutions only when two incompatible ranges can’t converge, e.g.:

"resolutions": {
  "@patternfly/react-styles": "6.7.0"
}

That forces every range to 6.7.0. Prefer aligning the direct dependency (what we did with ^6.4.0) so Yarn can merge naturally; reach for resolutions as a last resort.

@anwesha-palit-redhat

Copy link
Copy Markdown
Contributor Author

/cherry-pick release-v1.23.x

@openshift-cherrypick-robot

Copy link
Copy Markdown
Contributor

@anwesha-palit-redhat: once the present PR merges, I will cherry-pick it on top of release-v1.23.x in a new PR and assign it to you.

Details

In response to this:

/cherry-pick release-v1.23.x

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@anwesha-palit-redhat

Copy link
Copy Markdown
Contributor Author

/cherry-pick release-v1.24.x

@openshift-cherrypick-robot

Copy link
Copy Markdown
Contributor

@anwesha-palit-redhat: once the present PR merges, I will cherry-pick it on top of release-v1.24.x in a new PR and assign it to you.

Details

In response to this:

/cherry-pick release-v1.24.x

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@anwesha-palit-redhat
anwesha-palit-redhat requested review from arvindk-softwaredev and removed request for adityavshinde and ankrsinha November 3, 2026 12:37

@arvindk-softwaredev arvindk-softwaredev left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Looks Good to Me Label label Nov 4, 2026
@openshift-ci

openshift-ci Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: anwesha-palit-redhat, arvindk-softwaredev

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [anwesha-palit-redhat,arvindk-softwaredev]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@anwesha-palit-redhat anwesha-palit-redhat changed the title fix: update PF module in package.json SRVKP-15402: update PF module in package.json Nov 4, 2026
@openshift-ci-robot

openshift-ci-robot commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

@anwesha-palit-redhat: This pull request references SRVKP-15402 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "5.1.0" version, but no target version was set.

Details

In response to this:

Type of Change

  • Bug fix
  • New feature
  • Refactoring
  • Migration
  • CVE Fix

Summary

Screen Recordings / Screenshot

css-fix-pf6-version-update.mov

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-merge-bot
openshift-merge-bot Bot merged commit b9d8426 into openshift-pipelines:master Nov 4, 2026
7 checks passed
@openshift-cherrypick-robot

Copy link
Copy Markdown
Contributor

@anwesha-palit-redhat: new pull request created: #1465

Details

In response to this:

/cherry-pick release-v1.23.x

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-cherrypick-robot

Copy link
Copy Markdown
Contributor

@anwesha-palit-redhat: new pull request created: #1466

Details

In response to this:

/cherry-pick release-v1.24.x

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Label for Approved PRs jira/valid-reference lgtm Looks Good to Me Label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants